define(['./app'], function (app) {
    'use strict';
    return app.config(['$httpProvider', function($httpProvider){
        $httpProvider.interceptors.push('authenFactory');
    }])
        .run(['$rootScope', function($rootScope){
            $rootScope.token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE0Mzc4OTI5MTF9.6vz9r0X3gP92bbz2ja9VVYojpNHhyq6m95yPFZ6X3HQ=";
        }])
    //api地址
    .constant("apiUrl", "http://123.57.234.143");
    //.constant("apiUrl", "http://192.168.5.71:8087");
});